﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace Manon.Admin.Web.Application.Dtos.News
{
    public class NewsOutput
    {
        public int Id { get; set; }

        public int CategoryId { get; set; }

        public string CategoryName { get; set; }

        public string Title { get; set; }

        public string ShortTitle { get; set; }

        public int OrderIndex { get; set; }

        public string Keyword { get; set; }

        public string ArticleAbstract { get; set; }

        public string ArticleContent { get; set; }

        public string Author { get; set; }

        public string Source { get; set; }

        public bool AllowComment { get; set; } = false;

        public DateTime? CommentStartDate { get; set; }

        public DateTime? CommentEndDate { get; set; }

        public string ImageUrl { get; set; }

        public bool Enabled { get; set; }

        public DateTime CreateTime { get; set; }

        public DateTime UpdateTime { get; set; }
    }
}
